#include "bsp.h"



void hw_debug_led_init(void)
{
	PINSEL_ConfigPin(DEBUG_LED_PIN_PORT, DEBUG_LED_PIN_NUM, 0);
	GPIO_SetDir(DEBUG_LED_PIN_PORT, (1<<DEBUG_LED_PIN_NUM), GPIO_DIRECTION_OUTPUT);
}

void led_blink(void)
{
  uint8_t value = 0;
	while (1){
		GPIO_OutputValue(DEBUG_LED_PIN_PORT, (1<<DEBUG_LED_PIN_NUM), value);
		value = (value) ? 0: 1;
	}

}